Built-in Module gdbm

gdbm Gdbm provides python programs with an interface to the GNU gdbm database library. Gdbm objects are of the mapping type, so they can be handled just like objects of the built-in dictionary type, except that keys and values are always strings, and printing a gdbm object doesn't print the keys and values. The module is based on the Dbm module, modified to use GDBM instead. The module defines the following constant and functions:
\begin{excdesc}{error}
Raised on gdbm-specific errors, such as I/O errors. \code...
...aised for general mapping errors like specifying an incorrect key.
\end{excdesc}

\begin{funcdesc}{open}{filename\, rwmode\, filemode}
Open a gdbm database and re...
... the unix mode of the file, used only when a database is created.
\end{funcdesc}